﻿#include <cv.h>
#include <highgui.h>
#include <cvaux.h>
#include <ml.h>	
#include <string.h>


void DetectImage(IplImage *imgin, IplImage *imgout);
void LoaiBoThongTinThua(IplImage *imgin,IplImage *imgout);
void TaoCSDLHoc(char path[256]);
void TaoFilePhanLop();
int KhoiTaoSVMOpenCV(CvSVM* svm, CvMat* trainData);
void GhiFileEigenPsi();
void ReadFileClass(CvMat *trainClasses,char *filename);
float DocFileEigenPsi(IplImage *imgin);
int SuDungSVMOpenCV(CvSVM* svm);
void DocFileEigen();
void DocFilePsi();
void DetectVideo(char path[256]);
bool Co(IplImage *imgin);

